<template>
  <div>
    <template v-if="$route.path!='/my'">
      <keep-alive include="Layout">
      <router-view></router-view>
    </keep-alive>
    </template>
    <template v-else><router-view></router-view></template>
  </div>
</template>

<script>
export default {
  name: 'App',
};
</script>

<style lang="less" scoped>
.test{
  width: 750px;
  height: 100px;
  background-color: green;
}
</style>